<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
	String path = request.getContextPath();
	String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	System.out.println("basepath:"+basepath);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basepath %>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<script type="text/javascript" src="js/jquery-1.8.3.js" ></script>
<script language="javascript" type="text/javascript" src="<%=basepath %>/js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>
<h3>这里是book_add.jsp页面</h3>
<form action="bc/add" enctype="multipart/form-data" method="post" > 
	书名：<input type="text" value="html" name="bookName" /><br/>
	出版社：<input type="text" value="三联出版社" name="publicDept" /><br/>
	价格：<input type="text" value="50.00" name="bookPrice" /><br/>
	出版日期:<input type="text" value="" readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" name="publicDate" /><br/>
	作者：<input type="text" value="xx" name="bookAuth" /><br/>
	图片：<input type="file" name="pic" /><br/>
	简介：<textarea rows="5" cols="60" name="summary" style="text-align: left;">
hello world
	</textarea><br/>
	<input type="submit" value="保存" />
	<input type="reset" value="重置" />
</form>
</body>
</html>